<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="../js/jquery-1.8.3.js"></script>
    <script type="text/javascript" src="../js/vue.js"></script>
    <script>
        $(function () {

            new Vue({
                el:"#app",
                data:{
                    msg:"hello vue.js"
                },
                components:{
                  'my-component':{
                      props:["msg"],
                      template:"<h1>{{msg}}</h1>"
                  }
                }
            })
        })
    </script>
</head>
<body>
    <div id="app">
        <my-component :msg="msg"></my-component>
    </div>
</body>
</html>
